.canvas {
  position: relative;
  height: 500px;
  border: 1px solid #ccc;
  background-color: #f0f0f0;
}

.editable-input {
  width: 200px;
  height: 40px;
  border: 2px solid blue;
  background-color: rgba(173, 216, 230, 0.5);
  font-weight: bold;
  outline: none;
  font-size: 30px;
  padding: 5px;
}


.context-menu {
  list-style: none;
  padding: 0;
  margin: -120px;
  margin-left: -440px;
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* 确保菜单在其他元素上方 */
}

.context-menu li {
  padding: 8px 12px;
  cursor: pointer;
}

.context-menu li:hover {
  background-color: #f0f0f0; /* 鼠标悬停时的背景色 */
}

/* 调整上下文菜单的位置 */
.context-menu {
  transform: translateY(-10px); /* 向上移动一些 */
}
